package com.aiit.service;


import com.aiit.pojo.Doctor;
import com.aiit.pojo.DoctorbyDept;

import java.util.List;

public interface IDoctorService {
    Doctor findDoctor(String loginname, String password) ;
    int addDoctor(Doctor doctor);
    List<DoctorbyDept> findAll();
    List<DoctorbyDept> findDoctorById(String name, String idnumber);
 int doctorUpdate(Doctor doctor);

    Doctor selectDoctorById(int userid);
}
